package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.AdLoginDto;
import com.heima.model.admin.dtos.AuthDto;
import com.heima.model.admin.pojos.AdUser;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.stereotype.Service;

@Service
public interface AdUserService extends IService<AdUser> {
    public ResponseResult login(AdLoginDto dto);

    PageResponseResult findList(AuthDto authDto);

    ResponseResult authFail(AuthDto authDto);

    ResponseResult authPass(AuthDto authDto);
}
